<%@ page language="java"  pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	    <title><fmt:message key="systemUserDetail.heading"/></title>
	    <script type="text/javascript">
	     $(function() {
			setEmptyCheck("userName:passWord:email");
			setMailCheck("email");
			setMobileCheck("checkmobile");
		});
	     </script>
  </head>
  <body>
  
   <ul>
          <li class="titleonly">
          <img src="${ctxPath}/css/style/base/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;系统管理员用户列表<a href="javascript:history.back()"><img src="${ctxPath}/css/style/base/image/backtrack.gif" width="14" height="14" align="absmiddle" class="backtrack"/>返回</a>
</li>
        </ul>
        <ul>
        <div id="tj" >
        <form:form method="post" id="systemUser"  commandName="systemUser" action="editSystemUser.do">	
		<form:hidden path="systemUserId"/>					
		<div id="check_top">
		<div id="title_c"><li>添加管理员用户--详细信息</li></div>
	    <div id="content_c">
	    <li class="w50">用&nbsp;&nbsp;户&nbsp;名：<input name="username" value="${systemUser.username}" type="text" class="inputbox120" id="userName" check=2 tip="用户名不能为空"/></li>
	    <li class="w10"></li>
	    <li class="w40">密&nbsp;&nbsp;&nbsp;&nbsp;码&nbsp;&nbsp;：<input name="password" value="${systemUser.password}" type="password" class="inputbox120" id="passWord" check=2 tip="密码不能为空"/></li>
	    <li class="w50">邮&nbsp;&nbsp;&nbsp;&nbsp;箱&nbsp;&nbsp;：<input name="email" value="${systemUser.email}" type="text" class="inputbox120" id=email check=2 tip="邮箱不能为空，格式如：XXX@163.com"/></li>
	    <li class="w10"></li>
	    <li class="w40">联系电话：<input name="phone" type="text" class="inputbox120" id=phone value="${systemUser.phone}"/></li>
	    <li class="w50">手机号码：<input name="mobile" type="text" class="inputbox120" id="checkmobile" check=2 value="${systemUser.mobile}" tip="请输入正确的手机号码"/></li>
	    <li class="w10"></li>
	    <li class="w40">姓&nbsp;&nbsp;&nbsp;&nbsp;名&nbsp;&nbsp;：<input name="fullname" type="text" value="${systemUser.fullname}" class="inputbox120" id=fullname /></li>
	    <li class="w50">性&nbsp;&nbsp;&nbsp;&nbsp;别&nbsp;&nbsp;：
	    	<select id="sex" name="sex" >
				<option value="1" <c:if test="${systemUser.sex==1}">selected="selected"</c:if>>男</option>
				<option value="0" <c:if test="${systemUser.sex==0}">selected="selected"</c:if>>女</option>
			</select> 
	    </li>
	     <li class="w10"></li>
	    <li class="w40">状&nbsp;&nbsp;&nbsp;&nbsp;态&nbsp;&nbsp;：<select name="status">
	      <option value="1">启用</option>
	      <option value="0">禁用</option>
	    </select></li>
	    <li class="w10"></li>
	    <li class="w40"></li>    
	    <div id="clear"></div>
	    </div>
	</div>
                <div id="button">
                <input  type="submit" value="保存" style="width:100px; text-align:center; margin-left:100px" />
                <input  type="button" onclick="javascript:history.back()" value="不保存" style="width:100px; text-align:center;margin-left:100px" />
				</div>
				</form:form>
</div><!--浮层结束-->
	</ul>
	
  </body>
</html>